"""
    Author:
    Date: 2019-11-21

    服务器监控管理类
"""

from entities.consts import *
from utils import db


def get_animoji_list():
    """ 获取动态表情列表 """
    sql = f'''
        SELECT      *
        FROM        cmf_config_animoji
        ORDER BY    enabled DESC,
                    orderno,
                    id;
    '''
    data = db.query_data_from_db(sql)
    return data if data else []


if __name__ == '__main__':
    print('ok')
